<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>订单查询</title>
<c:import url="/ctrl/header"></c:import>
<script type="text/javascript" src="/scripts/order/list.js"></script>
</head>
<body>
  <div class="container">
    <c:import url="/ctrl/top">
      <c:param name="subId">
        <c:out value="${subId}" />
      </c:param>
    </c:import>
    <div class="content">
      <table id="datagrid_list"></table>
      <div id="tb" style="padding: 5px">
        <div style="margin-bottom: 5px">
          订单号&nbsp;<input id="ono" name="ono" type="text"
            style="width: 160px" />&nbsp;&nbsp; 保单号&nbsp;<input
            id="pno" name="pno" type="text" style="width: 160px" />&nbsp;&nbsp;
          保单被投保人&nbsp;<input id="pname" name="pname" type="text"
            style="width: 80px" />&nbsp;&nbsp; 经销商&nbsp;<input
            id="cname" name="cname" type="text" style="width: 80px" />
        </div>
        <div style="margin-bottom: 5px">
          订单时间&nbsp;<input id="obegin" name="obegin"
            class="easyui-datebox" style="width: 100px"
            data-options="onSelect:onSelectBegin" />&nbsp;-&nbsp; <input
            id="oend" name="oend" class="easyui-datebox"
            style="width: 100px" data-options="onSelect:onSelectEnd" />
          &nbsp;&nbsp; 订单状态&nbsp;<select id="ostatus" name="ostatus"><option
              value=""></option>
            <c:forEach var="status" items="${orderStatusList}">
              <option value="<c:out value="${status.index}" />"><c:out
                  value="${status.name}" /></option>
            </c:forEach></select>&nbsp;&nbsp; 保险公司&nbsp;<select id="ins" name="ins"><option
              value=""></option>
            <c:forEach var="company" items="${companyList}">
              <option value="<c:out value="${company.companyId}" />"><c:out
                  value="${company.companyShortName}" /></option>
            </c:forEach></select>&nbsp;&nbsp; 保单类型&nbsp;<select id="otype" name="otype"><option
              value=""></option>
            <c:forEach var="insType" items="${insTypeList}">
              <option value="<c:out value="${insType.index}" />"><c:out
                  value="${insType.name}" /></option>
            </c:forEach></select>&nbsp;&nbsp; <a href="javascript:void(0);"
            class="easyui-linkbutton" iconCls="icon-search"
            onclick="searchit();">查询</a>
        </div>
      </div>
      <div class="easyui-tabs">
        <div title="保单详情">
          <input type="button" id="cancel_policy"
            onclick="javascript:alert('a');" disabled="disabled"
            value="退保" /> <input type="button" id="refund_policy"
            onclick="javascript:alert('a');" disabled="disabled"
            value="退款" />
          <table id="policy_list"></table>
        </div>
      </div>
    </div>
  </div>
</body>
</html>